package com.tc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.Collection;
import java.util.List;

@SpringBootApplication
@MapperScan("com.tc.*.mapper")   //扫描mybatis中的接口
@ImportResource(locations = {"classpath:beans/beans-activiti.xml", "classpath:beans/beans-base.xml"}) //引入配置文件
@EnableSwagger2    //激活swagger
public class SpringbootActivitiApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootActivitiApplication.class, args);
    }



}
